<?php
class lastcommentHelper{
	public function getData(){
		$db = Zend_Registry::get("DBO");
		$sql = $db->select()
		->from(TBL_PRF.'users',array('user_name','email'))
		->where('id < 30')
		->order('id ASC');
		
		$result = $db->fetchAll($sql);
		
		return $result;
	}
}